package com.ttmall.common.pojo;

/**
 * Created by tianyi on 2018/1/13.
 */
public class EasyUITreeNode {
    private long id;
    private String text;
    private String state;

    public static EasyUITreeNode build(long id, String text, String state) {
        EasyUITreeNode node = new EasyUITreeNode();
        node.setId(id);
        node.setText(text);
        node.setState(state);
        return node;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
